<!--
  @author heguanghua
  @since 2019/06/12 11:57
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead >
        <tr>
            <th lay-data="{type:'checkbox', width:50, unresize:true, align:'center', fixed:'left'}"></th>
            <th lay-data="{field:'id', width:60, unresize:true, align:'center', hide: true}">ID</th>
            <th lay-data="{field:'channelId', unresize:true, align:'center', hide: true}">渠道ID</th>
            <th lay-data="{field:'masterId', unresize:true, align:'center'}">工程师ID</th>
            <th lay-data="{field:'masterName', unresize:true, align:'center'}">工程师</th>
            <th lay-data="{field:'manageCompanyName', unresize:true, align:'center'}">服务商</th>
            <th lay-data="{field:'cityName', unresize:true, align:'center'}">城市区域</th>
            <th lay-data="{field:'plat', unresize:true, align:'center'}">所在平台</th>
            <th lay-data="{field:'操作', unresize:true, align:'center', fixed:'right', toolbar: '#zmn-table-bar'}">操作</th>
        </tr>
    </thead>
    <tbody>
        <tr th:each="item:${items}">
            <td></td>
            <td th:text="${item.id}"></td>
            <td th:text="${item.channelId}"></td>
            <td th:text="${item.masterId}"></td>
            <td th:text="${item.masterName + T(com.zmn.common.utils.string.StringUtil).formatHideMobile(item.mobile)}"></td>
            <td th:text="${item.manageCompanyName}"></td>
            <td th:text="${item.cityName + (item.countryName == null ? '' : '-' + item.countryName)}"></td>
            <td th:text="${T(com.zmn.common.constant.GlobalConsts).getPlatName(item.plat)}"></td>
        </tr>
    </tbody>
</table>
